﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Data;

/// <summary>
/// Summary description for optionBus
/// </summary>
public class optionBus
{
    
    optionDAL optionDAL = new optionDAL();
	public optionBus()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public DataTable getProductOptionByProductId(int product_id)
    {
        DataTable table = new DataTable();
        table = optionDAL.getAllOptionByProductId(product_id);
        return table;
        
    }
    public DataTable getOptionValueByOptionID(int product_option_id)
    {
        DataTable table = new DataTable();
        table = optionDAL.getOptionValueByOptionID(product_option_id);
        return table;
    }
}